﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: StatWeekEntity.cs
// 修改时间：2020-9-8 10:40:11
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：StatWeek 的实体类.
	/// </summary>
	[Table("StatWeek")]
	public partial class StatWeekEntity
	{
		#region Properties
		private int? _d1 = 0;
		/// <summary>
		/// 周1
		/// </summary>
		[Column("D1",TypeName="int")]
		public int? D1
		{
			get {return _d1;}
			set {_d1 = value;}
		}
		
		private int? _d2 = 0;
		/// <summary>
		/// 周2
		/// </summary>
		[Column("D2",TypeName="int")]
		public int? D2
		{
			get {return _d2;}
			set {_d2 = value;}
		}
		
		private int? _d3 = 0;
		/// <summary>
		/// 周3
		/// </summary>
		[Column("D3",TypeName="int")]
		public int? D3
		{
			get {return _d3;}
			set {_d3 = value;}
		}
		
		private int? _d4 = 0;
		/// <summary>
		/// 周4
		/// </summary>
		[Column("D4",TypeName="int")]
		public int? D4
		{
			get {return _d4;}
			set {_d4 = value;}
		}
		
		private int? _d5 = 0;
		/// <summary>
		/// 周5
		/// </summary>
		[Column("D5",TypeName="int")]
		public int? D5
		{
			get {return _d5;}
			set {_d5 = value;}
		}
		
		private int? _d6 = 0;
		/// <summary>
		/// 周6
		/// </summary>
		[Column("D6",TypeName="int")]
		public int? D6
		{
			get {return _d6;}
			set {_d6 = value;}
		}
		
		private int? _d7 = 0;
		/// <summary>
		/// 周日
		/// </summary>
		[Column("D7",TypeName="int")]
		public int? D7
		{
			get {return _d7;}
			set {_d7 = value;}
		}
		
		private System.String _tWeek = string.Empty;
		/// <summary>
		/// 周分类(主键)
		/// </summary>
		[Column("TWeek",TypeName="nvarchar(10)")]
		[Key]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TWeek
		{
			get {return _tWeek;}
			set {_tWeek = value;}
		}
		
		#endregion
	}
}
